package com.baizhi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("layui_dept")
public class Depart{
    @TableId(type = IdType.AUTO)
    private int id;
    private String deptName;
    private int companyId;

    @Override
    public String toString() {
        return "Depart{" +
                "id=" + id +
                ", deptName='" + deptName + '\'' +
                ", companyId=" + companyId +
                '}';
    }

    public Depart() {
    }

    public Depart(int id, String deptName, int companyId) {
        this.id = id;
        this.deptName = deptName;
        this.companyId = companyId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }
}
